package com.example.controller;


import com.example.service.impl.PersonServiceImpl;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * <p>
 * 人类 前端控制器
 * </p>
 *
 * @author fbb 2763175463@126.com
 * @since 2021-11-30
 */
@Api(value= "数据test",tags = "人类数据接口API")
@RestController
@RequestMapping("/person")
public class PersonController {
    @Autowired
    private PersonServiceImpl personServiceImpl;
    @GetMapping("/select")
    public Map<String,Object> select(){
        Map<String, Object> map = personServiceImpl.select();
        return map;
    }


}

